package com.example.applicationjet.viewmodel

import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel

class MyViewModel: ViewModel() {
    private lateinit var liveData: MutableLiveData<String>;
    init {
        liveData = MutableLiveData()
    }


    public fun getLiveData() : LiveData<String> {
        return liveData
    }

    public fun set(value: String) {
        liveData.value = value
    }
}